// 使用 Mock
var Mock = require("mockjs");
var data = Mock.mock({
	"overtime|10":[{
		"ID":"@guid", 
	"SAP_NO|80000000-89999999":0, 
	"USER_NAME":"@cname", 
	"HOLIDAY_OVERTIME|1-30":0, 
	"OVERTIME|1-100":0, 
	"DELAY_TIME|1-100":0, 
	"PRE_BREAKOFF|10-100":0, 
	"PRE_DEDUCTION|10-100":0, 
	"BREAKOFF|10-100":0, 
	"DEDUCTION|10-100":0, 
	"CREATE_BY":"admin", 
	"CREATE_TIME":"2019-08-08",
	}],
	"delay|10":[{"sapNo|8000000-89999999": 0,
  "empName": "@cname",
  "holidays|1-100": 0,
  "outtime|1-100": 0,
  "delaytime|1-100": 0,
  "adjusting|1-6": 0,
  "remainAdjusting|1-50": 0}],
	"user|3": [
    {
      "id|+1": 0,
      "username": "@cname",
      "mobile": /^1[3456789]\d{9}$/,
      "password": "123",
	  "email":"@email",
      "desc": "@csentence"
    }
  ],
  "courses|5": [
    {
      "course_name": "@ctitle()-课程",
      "is_enabled|1": true,
      "college": "@csentence",
      "id|+1": 0
    }
  ],
  "emp_labor|3":[
  {
	  "sapNo|80000000-89999999": 0,
					"empName": "@cname",
					"dept": "@ctitle",
					"workday|0-31":0,
					"insLabor|0-220": 0,
					"norLabor|0-220": 0,
					"realLabor|0-220": 0,
					"overtime|0-100": 0,
					"delayTime|0-100": 0
  }
  ]
});
// 输出结果
console.log(JSON.stringify(data, null, 4));
